package cn.sll.user.mapper;

import cn.sll.user.domain.Logininfo;
import cn.sll.base.mapper.BaseMapper;
import cn.sll.user.dto.AccountDto;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sll
 * @since 2022-12-30
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByName(AccountDto dto);

    Logininfo findByUserId(Long userId);
}
